package cn.eonshine.base.core.util;

import cn.eonshine.base.config.properties.SysAdminProperties;;

/**
 * 验证码工具类
 */
public class KaptchaUtil {

	/**
	 * 获取验证码开关
	 * 
	 * @return
	 */
	public static Boolean getKaptchaOnOff() {
		return SpringContextHolder.getBean(SysAdminProperties.class).getKaptchaOpen();
	}
}